//
//  IPNewsDetailViewController.swift
//  IDPhoto
//
//  Created by njsx on 2022/5/25.
//  Copyright © 2022 Awei. All rights reserved.
//

import UIKit

class IPNewsDetailViewController: UIViewController {
    var detailDic = NSDictionary()
    
    @IBOutlet weak var img: UIImageView!
    
    @IBOutlet weak var contentLab: UILabel!
    override func viewDidLoad() {
        super.viewDidLoad()
        self.img.image = UIImage.init(named: self.detailDic["image"] as! String)
        self.title = (self.detailDic["title"] as! String)
        self.contentLab.text = (self.detailDic["title"] as! String)
    }
    override func viewWillAppear(_ animated: Bool) {
        super.viewWillAppear(animated)
        self.navigationController?.isNavigationBarHidden = false
    }

    /*
    // MARK: - Navigation

    // In a storyboard-based application, you will often want to do a little preparation before navigation
    override func prepare(for segue: UIStoryboardSegue, sender: Any?) {
        // Get the new view controller using segue.destination.
        // Pass the selected object to the new view controller.
    }
    */

}
